<template>
  <div class="content">
    <ul>
      <li>
        <div class="con">
          <h2 class="name">百川名品10元优惠券</h2>
          <div class="jf">消费积分：2000</div>
          <div class="time">兑换时间：2018-04-23 10:20:10</div>
        </div>
        <div class="imgs">
          <img src="./images/goodimg.png">
        </div>
      </li>
      <li>
        <div class="con">
          <h2 class="name">百川名品10元优惠券</h2>
          <div class="jf">消费积分：2000</div>
          <div class="time">兑换时间：2018-04-23 10:20:10</div>
        </div>
        <div class="imgs">
          <img src="./images/goodimg.png">
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
  export default {
    components: {},
    data(){
      return {};
    },
    mounted(){

    },
    methods: {},
    filters: {}
  }
</script>

<style scoped>

  .content{
    text-align: left;
  }

  ul li{
    background: #fff;
    padding: .75rem;
    margin: .75rem;
    box-shadow: 0 1px 0 0 #F7F7F7;
    border-radius: 4px;
    height: 5.25rem ;
    overflow: hidden;
  }

  .con{
    float: left;
    width: 70%;
    position: relative;
  }

  .con .name{
    font-size: .8rem;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .con .jf{
    font-size: .65rem;
    color: #F74C4E;
    margin-top: .35rem;
  }

  .con .time{
    position: absolute;
    font-size: .6rem;
    color: #999999;
    top: 3.25rem;
  }

  .imgs{
    float: left;
    width: 30%;
  }
  .imgs img{
    width: 100%;
    height: 100%;
  }
</style>
